<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        // 1.逻辑与 && and 两侧都为 true 结果才是 true 只要有一侧为 false 结果为 false
        console.log(3 > 5 && 3 > 2);//false
        console.log(3 < 5 && 3 > 2);//true
        // 2.逻辑或 || or 两侧都为 false 结果才是假 false 只要有一侧为 true 结果就是 true 
        console.log(3 > 5 || 3 > 2);//true
        console.log(3 > 5 || 3 < 2);//false
        // 3.逻辑非 not !
        console.log(!true);//false
    </script>
</head>

<body>

</body>

</html>